#ifndef STATISTICS_H_
#define STATISTICS_H_

#include <vector>
#include <pthread.h>

class Statistics
{
	public:
		static void init();
		static void addCurlError(int err);
		static void curlErrorReport();
		static void statsReport();
		static pthread_mutex_t curlErrorMutex;
		static pthread_mutex_t LP_Mutex;
		static pthread_mutex_t HF_Mutex;
		static pthread_mutex_t CC_Mutex;
		static int LP_time;
		static int LP_calls;
		static int HF_time;
		static int HF_calls;
		static int CC_time;
		static int CC_calls;
	
	private:
		static std::vector<int> curlErrorCounter;

		
};

#endif /*STATISTICS_H_*/
